<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/css/swiper.min.css">
    <link rel="stylesheet" href="css/style.css">


    <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/js/swiper.min.js"></script>
</head>
<body>
    <div class="wrapper">
        <img src="img/main.jpg" alt="">
        <div class="swiper-wrapper">
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide blue-slide">slider1</div>
                    <div class="swiper-slide red-slide">slider2</div>
                    <div class="swiper-slide orange-slide">slider3</div>
                </div>
            </div>
            <div class="swiper-button-prev"> < </div>
            <div class="swiper-button-next"> > </div>
        </div>
        <div class="footer">
            <a href="javascript:;">联系我们</a>
        </div>
    </div>
    <script language="javascript"> 
    var mySwiper = new Swiper('.swiper-container',{
        loop: true,
	    autoplay: 3000,
        prevButton:'.swiper-button-prev',
        nextButton:'.swiper-button-next',
    })
    </script>
    <!-- <script language="JavaScript">
        function myrefresh()
        {
               window.location.reload();
        }
        setTimeout('myrefresh()',1000); //指定1秒刷新一次
    </script> -->
</body>
</html>